package psxt.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.springframework.web.servlet.ModelAndView;

import com.hc.core.web.springmvc.BaseCURDController;

public class MainController extends BaseCURDController {
	protected static final Logger logger = Logger
			.getLogger(IndexController.class);
	private String mainView;

	public ModelAndView index(HttpServletRequest request,
			HttpServletResponse response) {
		ModelAndView mnv = new ModelAndView();
		mnv.setViewName(this.mainView);
		return mnv;
	}

	public String getMainView() {
		return mainView;
	}

	public void setMainView(String mainView) {
		this.mainView = mainView;
	}

}
